package com.baitengsoft.patentapimonitor.api.dao;

import com.baitengsoft.patentapimonitor.api.entity.RptApplicantEntity;
import com.baitengsoft.patentapimonitor.api.model.WebApplicantInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Chen 2018/1/5
 */
@Mapper
@Repository
public interface RptApplicantDao extends BasetkRepository<RptApplicantEntity> {

    List<WebApplicantInfo> getRank(@Param("platformid") Integer platformid, @Param("type") Integer type);
}
